'use strict';

/** @type Egg.EggPlugin */
module.exports = {
  // had enabled by egg
  // static: {
  //   enable: true,
  // }
  // mongo数据库
  mongoose: {
    enable: true,
    package: 'egg-mongoose',
  },
  // 数据校验
  validate: {
    enable: true,
    package: 'egg-validate'
  },
  // 跨域解决
  cors: {
    enable: true,
    package: 'egg-cors',
  }
};